home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / xemacs / xemacs-1.004 / xemacs-1 / xemacs-19.13 / src / m / ews4800r.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-07-28  |  3.3 KB  |  106 lines

  1. /* m- file for NEC EWS4800 RISC series.
  2.    Copyright (C) 1987, 1992 Free Software Foundation, Inc.
  3.  
  4. This file is part of GNU Emacs.
  5.  
  6. GNU Emacs is free software; you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation; either version 2, or (at your option)
  9. any later version.
  10.  
  11. GNU Emacs is distributed in the hope that it will be useful,
  12. but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. GNU General Public License for more details.
  15.  
  16. You should have received a copy of the GNU General Public License
  17. along with GNU Emacs; see the file COPYING.  If not, write to
  18. the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  19.  
  20. /* Synched up with: Mule 2.0.  Not in FSF. */
  21.  
  22. /* Define WORD_MACHINE if addresses and such have
  23.  * to be corrected before they can be used as byte counts.  */
  24.  
  25. #undef WORD_MACHINE
  26.  
  27. /* Define how to take a char and sign-extend into an int.
  28.    On machines where char is signed, this is a no-op.  */
  29.  
  30. #define SIGN_EXTEND_CHAR(c) ((signed char)(c))
  31.  
  32. /* Now define a symbol for the cpu type, if your compiler
  33.    does not define it automatically:
  34.    Ones defined so far include vax, m68000, ns16000, pyramid,
  35.    orion, tahoe, APOLLO and many others */
  36. #ifndef mips
  37. #    define mips
  38. #endif
  39.  
  40. /* Use type int rather than a union, to represent Lisp_Object */
  41. /* This is desirable for most machines.  */
  42.  
  43. #define NO_UNION_TYPE
  44.  
  45. /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
  46.    the bit field into an int.  In other words, if bit fields
  47.    are always unsigned.
  48.  
  49.    If you use NO_UNION_TYPE, this flag does not matter.  */
  50.  
  51. #define EXPLICIT_SIGN_EXTEND
  52.  
  53. /* Data type of load average, as read out of kmem.  */
  54.  
  55. #define LOAD_AVE_TYPE long
  56.  
  57. /* Convert that into an integer that is 100 for a load average of 1.0  */
  58.  
  59. #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / 256.0)
  60.  
  61. /* Define CANNOT_DUMP on machines where unexec does not work.
  62.    Then the function dump-emacs will not be defined
  63.    and temacs will do (load "loadup") automatically unless told otherwise.  */
  64.  
  65. #undef CANNOT_DUMP
  66.  
  67. /* Define VIRT_ADDR_VARIES if the virtual addresses of
  68.    pure and impure space as loaded can vary, and even their
  69.    relative order cannot be relied on.
  70.  
  71.    Otherwise Emacs assumes that text space precedes data space,
  72.    numerically.  */
  73.  
  74. /* #define VIRT_ADDR_VARIES */
  75.  
  76. /* Define C_ALLOCA if this machine does not support a true alloca
  77.    and the one written in C should be used instead.
  78.    Define HAVE_ALLOCA to say that the system provides a properly
  79.    working alloca function and it should be used.
  80.    Define neither one if an assembler-language alloca
  81.    in the file alloca.s should be used.  */
  82.  
  83. #ifdef __GNUC__
  84. #define HAVE_ALLOCA
  85. #else
  86. #define C_ALLOCA
  87. #endif
  88.  
  89. /* Define NO_REMAP if memory segmentation makes it not work well
  90.    to change the boundary between the text section and data section
  91.    when Emacs is dumped.  If you define this, the preloaded Lisp
  92.    code will not be sharable; but that's better than failing completely.  */
  93.  
  94. #define NO_REMAP
  95.  
  96. /* Describe layout of the address space in an executing process.  */
  97.  
  98. #define TEXT_START 0x400000
  99. /*#define DATA_START 0x800000*/
  100.  
  101. /* Alter some of the options used when linking.  */
  102.  
  103. #define LIBS_TERMCAP -lcurses
  104.  
  105.  
  106.